package com.csc.main;

import java.sql.SQLException;
import java.util.ArrayList;

import com.csc.dao.BookDAO;
import com.csc.dao.DAOFactory;
import com.csc.data.BookObj;
import com.csc.data.BookObjManager;

public class Main {
	public static void main(String[] args) throws SQLException{
		BookObjManager bookManager = BookObjManager.getInstance();
		BookObj book = bookManager.getBookObj(3);
		System.out.println(book.getAuthor());	
	}
}
